#ifndef LIB_GEOUTILS_COLOR_MANAGER_H
#define LIB_GEOUTILS_COLOR_MANAGER_H
#include "libGeoutils/tool/color_mapper.h"

namespace geo {
namespace tool {
class GEOUTILS_EXPORT ColorMapperMgr 
{
public:
	using sptr = std::shared_ptr<ColorMapperMgr>;
	using csptr = std::shared_ptr<const ColorMapperMgr>;

	ColorMapperMgr();
	virtual ~ColorMapperMgr();

	void registerColorMapper(const std::string& name, ColorMapper::sptr colorMapper);
	ColorMapper::sptr getColorMapper(const std::string& name, int number);

protected:
	std::map<std::string, std::map<int, ColorMapper::sptr>> mColorMappers;

private:

};

} // namespace tool
} // namespace geo

#endif // !LIB_GEOUTILS_COLOR_MANAGER_H
